/** ------------------  EmpBasic --------------------- **/
import { get, post, put, _delete, batchDelete, get_query } from '@/utils/request'

const URL = '/Emp/EmpBasic/'

export const GetAll = p => get_query(URL, p)
export const Create = p => post(URL, p)
export const Update = p => put(URL, p)
export const Delete = id => _delete(URL + id)
export const BatchDelete = p => batchDelete(URL, p)

export const GetAllNation = p => get(URL + 'nation', p)
export const GetAllPoliticsstatus = p => get(URL + 'politicsstatus', p)
export const GetAllPosition = p => get(URL + 'position', p)
export const GetAllJobLevel = p => get(URL + 'jobLevel', p)

export const GetMaxWorkId = p => get(URL + 'maxWorkId', p)
export const GetAllDepartment = p => get(URL + 'department', p)
